@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

/*VARIABLES*/
:root {
    --green: #50D322;
    --dark_green: #40af17;
    --black: #494949;
    --white: #fff;
    --grey: #f6f6f6;
    --sub_white: #D7D7D7;
    --sub_black: #A1A1A1;
    --redy: #DC4757;
    --orangy: #F27B38;
    --yellowy: #DBBC1C;
    --greeny: #91BB1B;
    --cyany: #49CD9E;
    --bluey: #26AAE4;

    --red: #CE2C38;
    --dark-red: #a31923;
}

/*TAGS*/

/*general*/

footer{
    margin-top: 5rem;
}

body{
    padding: 0;
    margin: 0;
}

main{
    display: flex;
    flex-direction: column;
    align-items: center;
    
    min-height: 45vh;
}

*{font-family: 'Roboto', sans-serif; color: var(--black);}

hr{
    background-color: var(--sub_white);
    
    border-width: 0;
    border-top-width: 0;

    height: 1px;
    width: 100%;
}

/*forms*/

.question{
    width: 37rem;
    
    position: relative;

    display: flex;
    flex-direction: column;

    margin: 1.67rem 0 0 0;
}

label{
    width: 100%;

    padding-left: 1.5rem;
    margin-bottom: 0.5rem;

    font-size: 0.7rem;;
    font-weight: 500;
    color: var(--black);
}

.form-control{
    color: var(--black);
    font-size: 0.7rem;;

    padding: 0 1.5rem;

    height: 3.5rem;

    background-color: var(--grey);
    
    border-radius: 0.9rem;
    border-color: var(--sub_white);
    border-style: solid;

    resize: vertical;
    overflow: auto;

    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border: 2px solid var(--sub_white);
    background-color: var(--white);
    box-shadow: 0 0 8px var(--sub_white);
}

.form-control:focus::placeholder {
    opacity: 0.7;
}

.form-control-image{
    display: none;
}

.div-foto{
    height: 6rem;
    width: 6rem;

    background-color: var(--grey);
    
    border-width: 0.1rem;
    border-radius: 50%;
    border-color: var(--sub_white);
    border-style: solid;

    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.div-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pergunta-imagem{
    width: 37rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;

    margin: 1.5rem 0;
}

/*buttons*/

.btn-green{
    min-width: 10rem;
    height: 3rem;

    font-size: 0.7rem;
    font-weight: bold;

    background-color: var(--green);
    color: var(--white);

    transition: background-color 0.3s ease;

    border-radius: 0.9rem;
    border: none;

    cursor: pointer;

    padding: 0 1.5rem;

    box-shadow: 0 0.3rem 0.5rem 0.3rem rgb(0, 0, 0, 15%);
}

.btn-green:hover{background-color: var(--dark_green)}

.btn-white{
    min-width: 10rem;
    height: 3rem;

    font-size: 0.7rem;
    font-weight: bold;

    background-color: var(--white);
    color: var(--black);

    transition: background-color 0.3s ease;

    border-radius: 0.6rem;
    border: none;

    padding: 0 1.5rem;

    cursor: pointer;

    box-shadow: 0 0.3rem 0.5rem 0.3rem rgb(0, 0, 0, 15%);
}

.btn-white:hover{background-color: var(--sub_white);}

.btn-red{
    min-width: 10rem;
    height: 3rem;

    font-size: 0.7rem;
    font-weight: bold;

    background-color: var(--redy);
    color: var(--white);

    transition: background-color 0.3s ease;

    border-radius: 0.9rem;
    border: none;

    cursor: pointer;

    padding: 0 1.5rem;

    box-shadow: 0 0.3rem 0.5rem 0.3rem rgb(0, 0, 0, 15%);
}

.btn-red:hover{background-color: var(--dark-red)}



/*fonts*/

.white{color: var(--white);}

h1{font-size: 2.3rem;}
h2{font-size: 1.3rem;}
h3{font-size: 1rem;}

h4{font-size: 6rem; margin: 0; height: 6rem; display: flex; align-items: center;}

.p-12{font-size: 0.7rem;; margin: 0; font-weight: normal;}
.p-12-grey{font-size: 0.7rem;; margin: 0; color: var(--sub_black); font-weight: normal;}
.p-12-white{font-size: 0.7rem;; margin: 0; color: var(--white); font-weight: normal;}

.p-16{font-size: 0.9rem; margin: 0; font-weight: normal;}
.p-16-grey{font-size: 0.9rem; margin: 0; color: var(--sub_black); font-weight: normal;}
.p-16-white{font-size: 0.9rem; margin: 0; color: var(--white); font-weight: normal;}

.p-12-light{font-size: 0.7rem;; margin: 0;font-weight: 300;}
.p-12-light-grey{font-size: 0.7rem;; margin: 0;  font-weight: 300; color: var(--sub_black);}
.p-12-light-white{font-size: 0.7rem;; margin: 0;  font-weight: 300; color: var(--white);}

.p-16-light{font-size: 0.9rem; margin: 0;  font-weight: 300;}
.p-16-light-grey{font-size: 0.9rem; margin: 0;  font-weight: 300; color: var(--sub_black);}
.p-16-light-white{font-size: 0.9rem; margin: 0;  font-weight: 300; color: var(--white);}

.p-12-bold{font-size: 0.7rem;; margin: 0; font-weight: bold;}
.p-12-bold-grey{font-size: 0.7rem;; margin: 0;  font-weight: bold; color: var(--sub_black);}
.p-12-bold-white{font-size: 0.7rem;; margin: 0;  font-weight: bold; color: var(--white);}

.p-16-bold{font-size: 0.9rem; margin: 0;  font-weight: bold;}
.p-16-bold-grey{font-size: 0.9rem; margin: 0;  font-weight: bold; color: var(--sub_black);}
.p-16-bold-white{font-size: 0.9rem; margin: 0;  font-weight: bold; color: var(--white);}

.span-light{font-weight: 300;}

.link{
    color: var(--black);
    text-decoration:underline;
    transition: color 0.3s ease;
}

.link:hover{color: var(--dark_green)}

/*containers*/

.cont{
    border-radius: 1.3rem;

    background-color: var(--white);

    box-shadow: 0 0.3rem 0.5rem 0.3rem rgb(0, 0, 0, 15%);

    padding: 4rem 2.5rem;
}

.gradient-border{
    margin-top: 5rem;
    padding: 0.3rem;

    border-radius: 1.6rem;

    background-color: var(--bluey);
    background-image: linear-gradient(to right, var(--redy), var(--yellowy), var(--bluey));

    box-shadow: 0 0.3rem 0.5rem 0.3rem rgb(0, 0, 0, 15%)
}



/*table*/

.table{
    width: 81vw;
    border-collapse: collapse;

    border-color: var(--sub_white);
    border-style: solid;
    border-width: 0.1rem;

    margin-top: 2rem;
}


.table th{ 
    color: var(--white);
    text-align: left;
    font-size: 0.9rem;

    height: 2.7rem;

    padding-left: 1rem;

    background-color: var(--black);

    border-color: var(--sub_white);
    border-style: solid;
    border-width: 0.1rem;
}

.table tr{ 
    text-align: left;
    font-size: 0.9rem;

    height: 2.7rem;

    padding: 1rem;

    border-color: var(--sub_white);
    border-style: solid;
    border-width: 0.1rem;
}

.table td{ 
    text-align: left;
    font-size: 0.9rem;

    height: 2.7rem;

    padding: 0.5rem 1rem;

    border-color: var(--sub_white);
    border-style: solid;
    border-width: 0.1rem;
}

/*popup*/

.popup-wrapper{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
}



/* organization */

.centro{
    max-width: 81vw;
    margin-top: 1.5rem;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.space-between{
    max-width: 81vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.space-around{
    max-width: 81vw;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.align-right{
    max-width: 81vw;
    width: 100%;
    display: flex;
    justify-content: right;
    align-items: center;
}

.align-left{
    max-width: 81vw;
    width: 100%;
    max-width: 81vw;;
    display: flex;
    justify-content: left;
    align-items: center;
}